(lambda (id)
  (.done (/api "modules/sampler/clip/add" id)
    (lambda (data) (console.log data))
    (/lib/error (+ "could not add clip to sampler " id))))
